<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../../masterpages/Dialog.master" CodeBehind="SelectCategoryTarget.aspx.cs" Inherits="UCommerce.Web.UI.Catalog.Dialogs.SelectCategoryTarget" %>
<%@ import namespace="UCommerce.Web.UI.Catalog.Dialogs" %>
<%@ register tagprefix="uc" tagname="CatalogItemSelector" src="CatalogItemSelector.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeaderLabel" runat="server">
    <asp:Localize ID="Localize1" runat="server" meta:resourceKey="Header" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentArea" runat="server">
    <div style="margin:10px;">
		<h3>
			<%= GetLocalResourceObject("Header.Text") %>
		</h3>
		<p class="guiDialogTiny">
			<%= GetLocalResourceObject("SubHeader.Text") %>
		</p>
	</div>
	<div class="propertyPane">
		<uc:CatalogItemSelector runat="server" id="catalogItemSelector" SelectType="<%# CatalogItemType.Category %>"
			MultipleSelect="false" />
    </div>
    <div style="margin:10px;">        
		<asp:Button id="SaveButton" runat="server" meta:resourcekey="SaveButton" onclick="SaveButton_Clicked" />
		<em><%= GetLocalResourceObject("Or.Text") %> </em><a href="#" style="color: blue" onclick="UCommerceClientMgr.closeModalWindow()">
			<%= GetLocalResourceObject("CancelButton.Text") %>
		</a>	
	</div>
</asp:Content>